Editing Git commit
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | touch README.md | |
− | |||
− | |||
− | |||
− | |||
− | |||
[[git add]] README.md | [[git add]] README.md | ||
git commit -m "Creating README" | git commit -m "Creating README" | ||
− | [[git push -u origin master | + | [[git push]] -u origin master |
− | |||
− | |||
− | |||
git commit -m "your message" | git commit -m "your message" | ||
[master (root-commit) 07e1897] PATH | [master (root-commit) 07e1897] PATH | ||
Line 21: | Line 13: | ||
create mode 100644 file3.txt | create mode 100644 file3.txt | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[git status]] | [[git status]] | ||
On branch master | On branch master | ||
Line 55: | Line 40: | ||
nothing to commit, working tree clean | nothing to commit, working tree clean | ||
+ | |||
== Related terms == | == Related terms == | ||
+ | * [[Make Local Changes and Update remote Repositories]] | ||
* <code>[[git config --global --edit]]</code> | * <code>[[git config --global --edit]]</code> | ||
* <code>[[aws codepipeline]]</code> | * <code>[[aws codepipeline]]</code> | ||
− | * | + | * [[git cz]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* <code>[[docker container]] commit</code> | * <code>[[docker container]] commit</code> | ||
− | |||
* {{git}} | * {{git}} | ||
[[Category:git]] | [[Category:git]] |
Advertising: