From Fedora Project Wiki

No edit summary
No edit summary
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{header|docs}}
{{header|docs}}{{Docs_beat_open}}
{{Docs_beat_closed}}
 
[[Category:Docs Project]]
[[Category:Docs Project]]
[[Category:Draft documentation]]
[[Category:Draft documentation]]
[[Category:Documentation beats]]
[[Category:Documentation beats]]
Git has been updated to 2.4.1 from 2.1.0 [https://bugzilla.redhat.com/show_bug.cgi?id=1217767 Ticket for Documentation of Git 2.4.0]
Fedora 22 has includes Git 2.4.1. Git is a very popular version control and collaboration tool. The
previous version of Git was 2.1.0 in Fedora 21.
== New Features: ==
'''git push --atomic'''
New to Git in 2.4 and for Fedora is the ''atomic'' option. The '''--atomic''' option does an all - or - nothing
push update. This can be useful for automated tools. An example would be adding '''--atomic''' to the end
of a simple git push: '''git push origin --atomic''' For more information on how to do an atomic
push please visit [https://github.com/blog/1994-git-2-4-atomic-pushes-push-to-deploy-and-more https://github.com/blog/1994-git-2-4-atomic-pushes-push-to-deploy-and-more].
'''Push to Deploy'''
Introduced in Git 2.3.0 and new to Fedora is the ability to push to deploy. This feature will allow
someone to push a branch to a git server even if the branch is checked out on that server.
'''Inverted Grep'''
''Inverted grep'', or ''--inverted grep'' will let you search for items that do not match the pattern you
have entered. Inverted grep will give the ability to do "everything else but" searching. For example,
if you wanted to search the git log for everything the user ''grundblom'' did that ''was not grammer'' edits
You could use the command: '''git log --all --author=grundblom --invert-grep --grep=grammer'''
== Additional updates and enhancements: ==
* Ports
* UI, Workflows, and Features
* Performance
* Internal Implementation
* Development Support
For more information about Git 2.4.1, please visit the release notes at: [https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.1.txt https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.1.txt].

Revision as of 00:15, 26 May 2015

DocsProject Header docTeam1.png
Note.png
Beat is open
This beat is now ready to have Fedora 25 content added by the beat writer

Git has been updated to 2.4.1 from 2.1.0 Ticket for Documentation of Git 2.4.0 Fedora 22 has includes Git 2.4.1. Git is a very popular version control and collaboration tool. The previous version of Git was 2.1.0 in Fedora 21.


New Features:

git push --atomic

New to Git in 2.4 and for Fedora is the atomic option. The --atomic option does an all - or - nothing push update. This can be useful for automated tools. An example would be adding --atomic to the end of a simple git push: git push origin --atomic For more information on how to do an atomic push please visit https://github.com/blog/1994-git-2-4-atomic-pushes-push-to-deploy-and-more.

Push to Deploy

Introduced in Git 2.3.0 and new to Fedora is the ability to push to deploy. This feature will allow someone to push a branch to a git server even if the branch is checked out on that server.

Inverted Grep

Inverted grep, or --inverted grep will let you search for items that do not match the pattern you have entered. Inverted grep will give the ability to do "everything else but" searching. For example, if you wanted to search the git log for everything the user grundblom did that was not grammer edits You could use the command: git log --all --author=grundblom --invert-grep --grep=grammer


Additional updates and enhancements:

  • Ports
  • UI, Workflows, and Features
  • Performance
  • Internal Implementation
  • Development Support

For more information about Git 2.4.1, please visit the release notes at: https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.1.txt.