0
I’m not making it send my files to Github. I am following the following steps:
use the
git init
git add .
git commit -m 'primeiro teste'
git config --global user.name nome
git config --global user.email email
git push urlDoGitHub
What is usually happening is a mistake:
warning: could not open directory 'SendTo/': Permission denied
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
../../../../../.bash_history
../../../../../.cache/
../../../../../.eclipse/
../../../../../.gitconfig
../../../../../.p2/
../../../../../.tooling/
../../../../../.vscode/
../../../../../3D Objects/
../../../../../AppData/
../../../../../Contacts/
../../../../../Desktop/
../../../../
../../../../../Downloads/
../../../../../Evernote/
../../../../../Favorites/
../../../../../IntelGraphicsProfiles/
../../../../../Links/
../../../../../MicrosoftEdgeBackups/
../../../../../Music/
../../../../../OneDrive/
../../../../../Pictures/
../../../../../Saved Games/
../../../../../Searches/
../../../../../Videos/
../../../../../eclipse-workspace/
../../../../../eclipse/
../../../../../ntuser.dat.LOG1
../../../../../ntuser.dat.LOG2
../../../../../ntuser.ini
nothing added to commit but untracked files present (use "git add" to track)
If I use Git Add. Error:
git add .
fatal: Unable to create '/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
I’m super confused and I need help.
NOTE: I’m a beginner in GIT and already deleted the index.lock file and it didn’t work.