GIT: Difference between revisions

From Server STB
Jump to navigation Jump to search
(Created page with "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")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:


git push -uf origin new
git push -uf origin new
Atau
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

Latest 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

Atau

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