Create, Commit, Push to remote:
echo "# Device Configs Linh Trung" > README.md
git add .
git commit -m "Initial commit"
git push -u origin master
Delete multi file:
delete multi file: git rm $(git ls-files --deleted)
Clear version git:
git checkout --orphan temp_branch
git add -A
git commit -am "Purging Old History"
git branch -D master
git branch -m master
OR:
git pull --rebase
git reflog expire --expire=now --all
OR:
git fetch --prune
git prune
git gc
git push -f origin master
Post a Comment
Post a Comment