git checkout -b new-branch
or whatever your branch name isgit add .
git commit -m “developed feature x”
git push origin new-branch
git merge master
should be clean, but gives you an opportunity to fix itgit checkout master
should be clean again since we did above fixgit merge new-branch --no-ff
git push
Useful if working on complete overhauls in a separate branch
git checkout better_branch git merge --strategy=ours master git checkout master git merge better_branch
git commit -m "Line one" -m "line two" -m "etc"
git push --no-verify --mirror git@github.com:isuwebcom/Work
# useful for when repo is set to use https git remote set-url origin git@github.com:kalenpw/repo.git