update
This commit is contained in:
1
README copy.md
Normal file
1
README copy.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
hi 123
|
||||||
30
gitea_client_uploader_comands.sh
Normal file
30
gitea_client_uploader_comands.sh
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# actual
|
||||||
|
git config --global user.name "YOUR_NAME"
|
||||||
|
git config --global user.email "you@example.com"
|
||||||
|
|
||||||
|
git init
|
||||||
|
git add -A
|
||||||
|
git commit -m "first commit"
|
||||||
|
git branch -M main
|
||||||
|
git remote add origin http://192.168.1.203:3000/<user>/<repo>.git
|
||||||
|
git push -u origin main
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# example snippet
|
||||||
|
git remote set-url origin http://192.168.1.203:3000/dhruv/first.git
|
||||||
|
git config --global user.name "dhruv"
|
||||||
|
git config --global user.email "yuvrajyuvrajkukreja@gmail.com"
|
||||||
|
|
||||||
|
touch README.md
|
||||||
|
git add -A
|
||||||
|
git commit -m "first commit"
|
||||||
|
git branch -M main
|
||||||
|
git push -u origin main
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# After you edit files (every time)
|
||||||
|
git add -A
|
||||||
|
git commit -m "update"
|
||||||
|
git push
|
||||||
Reference in New Issue
Block a user