Skip to content

Lakhan-cs/EssentialCommond_bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Basic essential bash commond for github

git clone "link"
cd "name of repo"

git status -> to check the status of the files modified/added/deleted
git add .
git commit -m "msg"
git push origin main - OR - git push -u origin main
cd ..

Basic commond using vs code , need an empty repo

mkdir folder name
rkdir folder name
cd folder name
git init - initialize git in the folder

#now we can modify and add new files like .py, .css, .html in folder

#To upload this folder in github ... create new repo in git without README.md file
#copy the new repo link

git remote add origin "link"
git remote -v
git branch, git branch -M main
git add .
git commit -m "msg"
git push -u origin main -----> after this git push in fut.
Now all changes will be uploaded to github repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published