File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ This Repository is a guide to all the git commands you need to use in case any o
7
7
* [ Branches :deciduous_tree : ] ( #branches-deciduous_tree )
8
8
* [ Update forked Repository with original Repository :hourglass : ] ( #update-forked-repository-with-original-repository--hourglass )
9
9
* [ Dev branch is X commits behind and Y commits ahead of master] ( #your-dev-branch-is-x-commits-behind-and-y-commits-ahead-of-master-fix )
10
+ * [ Reverting Commits :sunglasses : ] ( #reverting-commits-sunglasses )
10
11
* [ Short hands] ( #short-hands )
11
12
* [ GitHub CLI commands] ( #github--cli-commands )
12
- * [ Reverting Commits : sunglasses : ] ( #reverting -commits-sunglasses )
13
+ * [ Signing Commits] ( #signing -commits )
13
14
14
15
15
16
## Basic Commands :v :
@@ -338,3 +339,13 @@ Create a shortcut for a gh command.
338
339
` ` `
339
340
340
341
** [⬆ Back to Index](# index-books)**
342
+
343
+ # # Signing Commits
344
+ These steps are to be followed when you want to sign your current commit.
345
+ ` ` ` sh
346
+ git commit --ammend --signoff
347
+ for signing the current commit
348
+ git push -f
349
+ force pushes the changes to the current branch.
350
+ ` ` `
351
+ ** [⬆ Back to Index](# index-books)**
You can’t perform that action at this time.
0 commit comments