What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-11-16 12:25:18
pull rewuests in local project
git push origin some-branch Add solution -
Shell/Bash 2021-11-16 08:05:14
how to upload existing project to github
create a new repository on the command line echo "# {Repo Name}" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/cdcdianne/ReactJS-TheMovieDB.git gi... Add solution -
Shell/Bash 2021-11-15 23:15:14
update branch with master
git checkout master git pull git checkout mybranch git merge master # to keep mybranch in sync with master # then when you're ready to put mobiledevicesupport into master, first merge in master like above, then ... git checkout master git merge mybran... Add solution -
Shell/Bash 2021-11-15 20:43:24
checkout master with previous commit
git checkout 307a5cd # check out the commit that you want to reset to git checkout -b fixy # create a branch named fixy to do the work git merge -s ours master # merge master's history without changing any files git checkout master ... Add solution -