به نام خداوند مهربان

۳ مطلب با کلمه‌ی کلیدی «git» ثبت شده است

The project files uvprojx and uvoptx have UNIX-style line endings (LF). In Windows systems, usually
CRLF is used. Git automatically detects this and changes the line endings to CRLF on the server. But then the
status of these two project files is always “changed”. You can get around this problem using the command

 

 

git config --global core.autocrlf false

  • حسن دلدار

To remove remote use this:

git remote remove origin
  • حسن دلدار

Creating a new repository on the command line:

touch README.md

git init

#git checkout -b main

git add README.md

git commit -m "first commit"

git remote add origin http://user:pass@xxxx.git

git push -u origin master

#git push -u origin main


Pushing an existing repository from the command line:

git remote add origin http://user:pass@xxxx.git

git push -u origin master

#git push -u origin main

Other:

git push --all origin

  • حسن دلدار