git reset
git reset HEAD
git fetch j143 <branch-name>
git branch -d -r origin/branch-name
git remote set-url --add <name> <new-url>
git push --set-upstream origin new-local-branch
git reset commit-SHA --hard
.gitkeep
or .gitignore
or just .keep
file with empty contents. For example, touch .keep
would create a .keep
file.git add <dir>
would add dir/file1
and dir/file2
.