Create a new github repository and push code 👨💻🎉🖥🛜 || github
HTML-код
- Опубликовано: 21 сен 2024
- Please subscribe my channel 👍
#github #git #githubactions #sdlc #workflow #gitworkflow #directory #repository #repo #push #initialize #init #add #upload #projects #project #commit #-m #push #origin #main #aws #amazon #awsservices #amazonwebservices #awsconsole #awstraining #amazoncloud #change #branch #master #alias #command #bash #gitbash #localrepo #local #banglore #bengaluru #technology #technologies #itpark #karnataka #remote #remoterepository #central #ai #artificialintelligence #machinelearning #coding #connect #config #configure #downloadgit #download #bengaluru #banglore #hyderabad #odisha
In this video you will learn how to create a repository in a github and push code or project into it.
⏭Follow the commands...
👨💻Command to initialize to track version
git init
👨💻Command to add particular files
git add filename1 filename2 filename3 filename_n
👨💻Command to add all files
git add .
👨💻Command to configure your github account to a single or local repo
git config user.name "username"
git config user.email "emailid"
👨💻Command to configure your github account globally
git config --global user.name "username"
git config --global user.email "emailid"
👨💻Command to commit
git commit -m "any message"
👨💻Command to see the status of the files
git status
👨💻Command to see the commits
git log
or
git log --oneline
👨💻Command to connect to the remote repo
git remote add alias URL
exp: git remote add origin repoURL
alias-any name you can give
👨💻Command to verify wheather it is connected or not with remote repo
git remote -v
or
git remote
👨💻Command to push the code to the remote repository
git push alias branchname
exp: git push origin main
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Connect with me...
RUclips Channel: / @devhub_cloud
Facebook: www.facebook.c...
LinkedIn: / kiran-kumar-malik-0100...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~