git config --global user.name "USERNAME"
git config --global user.email "email_address@example.com"
git config --global --list
git remote add source https://gitlab.com/cameronmcnz/example-website.git
git branch -a
# // git branch -d dal2
git init
git add .
git rm filename
git commit -m "Push existing project to GitLab"
git push -u -f source master
git checkout branch-name
git checkout -b new-branch-name
git clone https://gitlab.com/cameronmcnz/example-website.git
git clean -f
git rm --cached submodule-name



#Git global setup

git config --global user.name "Durukan Bal"
git config --global user.email "durukan.bal@durukanbal.com"

#Yeni bir depo oluştur

git clone git@gitlab.gotocure.com:DurukanBal/durukanbal.com-demir-head.git
cd durukanbal.com-demir-head
git switch -c main
touch README.md
git add README.md
git commit -m "add README"
git push -u origin main

#Push an existing folder

cd existing_folder
git init --initial-branch=main
git remote add origin git@gitlab.durukanbal.com:DurukanBal/durukanbal.com-demir-head.git
git add .
git commit -m "Initial commit"
git push -u origin main

#Push an existing Git repository

cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.durukanbal.com:DurukanBal/durukanbal.com-demir-head.git
git push -u origin --all
git push -u origin --tags
Categories: Bash language

15 Comments

Sylfirm · 10/10/2024 at 06:04

… [Trackback]

[…] Read More here to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

once human time2win · 13/10/2024 at 10:55

… [Trackback]

[…] Find More to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

hit789 · 20/10/2024 at 01:27

… [Trackback]

[…] There you can find 64708 additional Information to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

blue trio lost mary · 24/10/2024 at 02:55

… [Trackback]

[…] Find More here on that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

hua hin house for sale · 26/10/2024 at 14:06

… [Trackback]

[…] Find More Information here to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

extreme gaming เปิดให้บริการ เกมพนันคาสิโน อะไรบ้าง ? · 02/11/2024 at 01:16

… [Trackback]

[…] Read More on to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

Kimberly · 02/11/2024 at 13:23

… [Trackback]

[…] Find More to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

รับจำนำรถใกล้ฉัน · 03/11/2024 at 02:27

… [Trackback]

[…] Read More here on that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

ข้อดีของการเลือกเล่น บอลสูงต่ำ กับ lsm99 · 12/11/2024 at 11:18

… [Trackback]

[…] Info on that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

birthday cake cart · 13/11/2024 at 05:19

… [Trackback]

[…] Read More on that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

free chat · 19/11/2024 at 01:18

… [Trackback]

[…] Read More Information here on that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

slot99 · 25/11/2024 at 02:44

… [Trackback]

[…] Here you will find 66402 additional Info to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

จำหน่ายพลาสติกวิศวกรรม · 03/12/2024 at 02:17

… [Trackback]

[…] Find More here to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

best diet · 04/12/2024 at 07:03

… [Trackback]

[…] Info to that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

pgslot · 06/12/2024 at 13:20

… [Trackback]

[…] Find More on that Topic: durukanbal.com/2022/11/18/bash-git-command-using/ […]

Leave a Reply

Avatar placeholder