Skip to content

Instantly share code, notes, and snippets.

@Manoj-Paramsetti
Last active January 30, 2021 05:15
Show Gist options
  • Save Manoj-Paramsetti/bafcc3e717e0c2d17a48d016c8d96396 to your computer and use it in GitHub Desktop.
Save Manoj-Paramsetti/bafcc3e717e0c2d17a48d016c8d96396 to your computer and use it in GitHub Desktop.
2023 mkdir learn-pull-request
2024 cd learn-pull-request/
2025 git init
2026 git add README.md
2027 touch README.md
2028 git add README.md
2029 git commit -m "initial commit"
2030 git branch -M main
2035 git remote add origin [email protected]:Manoj-Paramsetti/learn-pull-request.git
2040 ssh-agent -s
2041 ssh-add ~/.ssh/id_rsa
2042 ssh-agent -s
2043 git push origin main
2044 git pull origin main
2045 ls
2046 git add .
2047 git commit -m "initial commit"
2048 git push origin main
2049 ssh-agent -s
2054 git push origin main
2055 cd
2057 cd .ssh
2058 ls
2059 cat id_rsa.pub
2060 cd
2061 cd Tools/
2062 ls
2063 cd github/
2064 ls
2065 cd learn-pull-request/
2066 ls
2067 git push origin main
2068 mkdir PR-Task
2069 rm PR-Task/
2070 rmdir PR-Task/
2071 ls
2072 clear
2075 git branch "markdow-files"
2076 git log
2077 git checkout markdow-files
2078 ls
2079 mkdir PR-Task
2080 cd PR-Task/
2081 ls
2082 touch introduction.md
2083 nano introduction.md
2084 nano QnA.md
2086 git add .
2087 cd ..
2088 git add .
2089 git commit -m "PR Commit"
2093 git push origin markdow-files
2094 git checkout main
2095 git pull origin main
2096 ls
2097 git branch M1
2098 git checkout M1
2099 ls
2100 cd PR-Task/
2101 ls
2102 nano introduction.md
2103 git add .
2104 git commit -m "intial commit in M1"
2105 git push origin M1
2106 git branch M2
2107 git checkout M2
2108 ls
2109 nano introduction.md
2110 git add .
2111 git commit -m "intial commit in M2"
2112 pit push origin M2
2113 git push origin M2
2114 nano introduction.md
2115 git add .
2116 git commit -m "br update"
2117 git push origin M2
2118 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment