What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-03 06:20:54
git commands
…or create a new repository on the command line git init git add . git commit -m "first commit" git remote add origin https://github.com/metinkaya1511/FinraDeck.git (GitHub’daki adres) git push -u origin master …push a... Add solution -
Other 2022-02-02 17:55:44
git link on local project
echo "# from-validation-javascript" >> README.md git init git add README.md git commit -m "first commit" git branch -M master git remote add origin https://github.com/coderkhayrul/from-validation-javascript.git git push -u origin... Add solution -
Shell/Bash 2022-01-31 21:31:20
repo from bitbucket to github
cd $HOME/Code/repo-directory # Rename Origin to bitbucket git remote rename origin bitbucket # Add the origin of your new github repository git remote add origin https://github.com/<username>/<repo-name>.git # Push ypur branch master to your g... Add solution -
Shell/Bash 2022-01-31 11:00:25
rename a branch alredy pushed
1. Verify the local branch has the correct name: git branch -a 2. Next, delete the branch with the old name on the remote repository: git push origin ––delete old-name 3. Finally, push the branch with the correct name, and reset the upstream... Add solution