Skip to content

Instantly share code, notes, and snippets.

@rezamarzban
Last active April 6, 2024 04:33
Show Gist options
  • Save rezamarzban/d72ddcc53ff48ae568de416d272b2875 to your computer and use it in GitHub Desktop.
Save rezamarzban/d72ddcc53ff48ae568de416d272b2875 to your computer and use it in GitHub Desktop.
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