What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-16 14:43:04
bitbucket ssh key not working
ssh -T hg@bitbucket You use hg@bitbucket when logging in via SSH, but in the remote URL you add to Git, you don’t specify a username. Since the configuration also does not include one, Git won’t know what username to log in with. Change the U... Add solution -
Shell/Bash 2021-10-12 14:04:09
git common commands
git init //add all git add . //cancel adds git reset //cancel commits git reset HEAD^ //cancel last 3 commits git reset HEAD~3 //when first commit git push -u origin master //remove remote origin git remote remove origin //reset remote origin git rem... Add solution -
Shell/Bash 2021-10-10 05:30:09
init step way to create repository git
# New local repository git init git add . git commit -m "Initial commit" # New remote repository # Create remote repository (likely on github), then: git remote add origin https://github.com/username/new_repo #https git remote add origin git@gi... Add solution