GIT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→==) |
||
Line 11: | Line 11: | ||
git push -uf origin new | git push -uf origin new | ||
cd existing_repo | cd existing_repo |
Revision as of 04:08, 28 November 2023
git init
git add .
git commit
git push --set-upstream git@git.umsida.ac.id:dsti/$(git rev-parse --show-toplevel | xargs basename).git $(git rev-parse --abbrev-ref HEAD)
git branch -M new
git push -uf origin new
cd existing_repo
git remote add origin https://git.umsida.ac.id/programmer-dsti/fgt.git
git branch -M main
git push -uf origin main