What can be the reason of this error ? ashu@ashu-G41MT-S2P:~/Documents/git-dir/git1$ sudo git init [sudo] password for ashu: Initialized empty Git repository in /home/ashu/Documents/git-dir/git1/.git/ ashu@ashu-G41MT-S2P:~/Documents/git-dir/git1$ git commit -m "first commit" fatal: Unable to create '/home/ashu/Documents/git-dir/git1/.git/index.lock': Permission denied ashu@ashu-G41MT-S2P:~/Documents/git-dir/git1$ sudo git commit -m "first commit" # On branch master # # Initial commit # nothing to commit (create/copy files and use "git add" to track) ashu@ashu-G41MT-S2P:~/Documents/git-dir/git1$ sudo git remote add origin https://github.com/ashutoshverma/drunken-ironman.git *ashu@ashu-G41MT-S2P:~/Documents/git-dir/git1$ sudo git push -u origin master error: The requested URL returned error: 403 while accessing https://github.com/ashutoshverma/drunken-ironman.git/info/refs
fatal: HTTP request failed * -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/rE74k7ry258J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
