Last active
April 6, 2024 04:33
-
-
Save rezamarzban/d72ddcc53ff48ae568de416d272b2875 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global user.email 'rezamarzban1987@gmail.com' | |
git config --global user.name 'rezamarzban' | |
git clone https://ACCESS_TOKEN@github.com/rezamarzban/electromagnetic | |
#After making changes | |
git add . | |
git commit -m 'Updated by Reza Marzban' | |
git push | |
# On error | |
git config http.postBuffer 524288000 | |
git push | |
# Restore | |
cp -r repo.git repo/.git | |
cd repo | |
git init | |
git status | |
git checkout | |
#Or: | |
git restore * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment