Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose โ€œCustomizeโ€ or โ€œDeclineโ€ to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose โ€œAcceptโ€ or โ€œDecline.โ€ To make more detailed choices, choose โ€œCustomize.โ€

AWS Logo
Menu
๐‡๐ž๐ซ๐ž ๐š๐ซ๐ž ๐ฌ๐จ๐ฆ๐ž ๐ฆ๐จ๐ซ๐ž ๐œ๐จ๐ฆ๐ฆ๐š๐ง๐๐ฌ ๐Ÿ๐จ๐ซ ๐ฆ๐š๐ง๐š๐ ๐ข๐ง๐  ๐ญ๐ก๐ž ๐†๐ข๐ญ

๐‡๐ž๐ซ๐ž ๐š๐ซ๐ž ๐ฌ๐จ๐ฆ๐ž ๐ฆ๐จ๐ซ๐ž ๐œ๐จ๐ฆ๐ฆ๐š๐ง๐๐ฌ ๐Ÿ๐จ๐ซ ๐ฆ๐š๐ง๐š๐ ๐ข๐ง๐  ๐ญ๐ก๐ž ๐†๐ข๐ญ

"Here are more Git commands! git commit, git pull, git fetch, and git remote

Published Jul 9, 2024
๐Ÿ‘‰ ๐•๐ข๐ž๐ฐ ๐‘๐ž๐ฆ๐จ๐ญ๐ž ๐‘๐ž๐ฉ๐จ๐ฌ๐ข๐ญ๐จ๐ซ๐ข๐ž๐ฌ
`๐ ๐ข๐ญ ๐ซ๐ž๐ฆ๐จ๐ญ๐ž -๐ฏ` Lists the remote repositories configured for the current repository.
๐Ÿ‘‰ ๐…๐ž๐ญ๐œ๐ก ๐‚๐ก๐š๐ง๐ ๐ž๐ฌ ๐Ÿ๐ซ๐จ๐ฆ ๐‘๐ž๐ฆ๐จ๐ญ๐ž
`๐ ๐ข๐ญ ๐Ÿ๐ž๐ญ๐œ๐ก` Fetches changes from the remote repository without merging them into your working directory.
๐Ÿ‘‰ ๐๐ฎ๐ฅ๐ฅ ๐‚๐ก๐š๐ง๐ ๐ž๐ฌ ๐Ÿ๐ซ๐จ๐ฆ ๐‘๐ž๐ฆ๐จ๐ญ๐ž
`๐ ๐ข๐ญ ๐ฉ๐ฎ๐ฅ๐ฅ ๐จ๐ซ๐ข๐ ๐ข๐ง <๐›๐ซ๐š๐ง๐œ๐ก_๐ง๐š๐ฆ๐ž>` Fetches changes and merges them into your local branch.
๐Ÿ‘‰ ๐‚๐ซ๐ž๐š๐ญ๐ž ๐š ๐‘๐ž๐ฆ๐จ๐ญ๐ž ๐๐ซ๐š๐ง๐œ๐ก
`๐ ๐ข๐ญ ๐ฉ๐ฎ๐ฌ๐ก ๐จ๐ซ๐ข๐ ๐ข๐ง <๐ฅ๐จ๐œ๐š๐ฅ_๐›๐ซ๐š๐ง๐œ๐ก_๐ง๐š๐ฆ๐ž>:<๐ซ๐ž๐ฆ๐จ๐ญ๐ž_๐›๐ซ๐š๐ง๐œ๐ก_๐ง๐š๐ฆ๐ž>` Pushes a local branch to create a new remote branch.
๐Ÿ‘‰ ๐”๐ง๐๐จ ๐ญ๐ก๐ž ๐‹๐š๐ฌ๐ญ ๐‚๐จ๐ฆ๐ฆ๐ข๐ญ
`๐ ๐ข๐ญ ๐ซ๐ž๐ฌ๐ž๐ญ ๐‡๐„๐€๐ƒ~1` Undoes the last commit, keeping the changes in your working directory.
๐Ÿ‘‰ ๐€๐ฆ๐ž๐ง๐ ๐ญ๐ก๐ž ๐‹๐š๐ฌ๐ญ ๐‚๐จ๐ฆ๐ฆ๐ข๐ญ
`๐ ๐ข๐ญ ๐œ๐จ๐ฆ๐ฆ๐ข๐ญ โ€” ๐š๐ฆ๐ž๐ง๐` Adds changes to the previous commit and allows you to edit the commit message.
๐Ÿ‘‰ ๐’๐ž๐ž ๐‹๐จ๐  ๐จ๐Ÿ ๐‚๐ก๐š๐ง๐ ๐ž๐ฌ
`๐ ๐ข๐ญ ๐ฅ๐จ๐ ` Displays the commit history.
๐Ÿ‘‰ ๐’๐ž๐ž ๐‹๐จ๐  ๐ฐ๐ข๐ญ๐ก ๐†๐ซ๐š๐ฉ๐ก๐ข๐œ๐š๐ฅ ๐‘๐ž๐ฉ๐ซ๐ž๐ฌ๐ž๐ง๐ญ๐š๐ญ๐ข๐จ๐ง
`๐ ๐ข๐ญ ๐ฅ๐จ๐  โ€” ๐ ๐ซ๐š๐ฉ๐ก โ€” ๐จ๐ง๐ž๐ฅ๐ข๐ง๐ž โ€” ๐š๐ฅ๐ฅ` Shows a concise commit history with a graphical representation.
๐Ÿ‘‰ ๐’๐ž๐ž ๐‚๐ก๐š๐ง๐ ๐ž๐ฌ ๐ข๐ง ๐–๐จ๐ซ๐ค๐ข๐ง๐  ๐ƒ๐ข๐ซ๐ž๐œ๐ญ๐จ๐ซ๐ฒ
`๐ ๐ข๐ญ ๐๐ข๐Ÿ๐Ÿ` Shows changes in the working directory that are not staged.
 

Comments