Skip to content

Commit

Permalink
git scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed May 6, 2021
1 parent 3d9d9d1 commit 0d576ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions git_scripts/git_add_upstream.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
git remote -v
git remote add upstream https://github.com/andreika-git/hellen-one.git


git remote -v
4 changes: 4 additions & 0 deletions git_scripts/git_reset_to_upstream.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master -f

0 comments on commit 0d576ce

Please sign in to comment.