Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notes for oops in python #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions git and github
Original file line number Diff line number Diff line change
@@ -1 +1,39 @@
notes will be taken here
notes will be taken here
we have to connect our github account to laptop by using command prompt
#git config --global user.name"your name"
#git config --global user.email"your email"
create a folder and name it and open it in vs code
then new terminal type
#git clone with link "clone address will be in github "
then to get the git file by changing directory to the file in folder(*git file act as a bridge to our code to store in github
to add a text file from vscode to github
#git add "filename
to commit change in github
#git commit -m "your change msg"
to push your code from vscode to github
#git push origin "your branch name"
to delete a file
#git add "filename"
#git commit -m "your message"
#git push origin "your branch name"
to create a file in github and open it in vscode
#git pull
to change directory
#cd..
to create a git file use command
#git init
to connect with origin
#git remote add origin "link"
to change your branch name
#git branch -M "new name"
to list out the branches in your repo
#git branch -a
to change your branch in vs code
# git checkout "new branch"
to know difference between two branches
# git diff "branchname"
to merge two branch
#git merge "branch name"
to create a branch in vs code
#git branch "branch name"
1 change: 1 addition & 0 deletions oops in python
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
notes will be taken here