From Fedora Project Wiki

No edit summary
(added features of Git 2.4.0 from the docs developer tools section of F22 release notes)
(84 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{header|docs}}
{{header|docs}}{{Docs_beat_open}}
{{Docs_beat_open}}
[[Category:Docs Project]]
[[Category:Draft documentation]]
[[Category:Documentation beats]]
Git has been updated to 2.4.0 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.0. Git is a very popular version control and collaboration tool. The
previous version of Git was 2.1.0 in Fedora 21.
 


'''python-migrate''' was updated to version 0.6. Support for SQLAlchemy 0.6 and Firebird database, custom templates and use of python logging are among many new features. New version also introduces some backwards incompatible changes:
== New Features: ==
* api.test() and schema comparison functions now all accept url as first parameter and repository as second.
* python upgrade/downgrade scripts do not import migrate_engine magically, but recieve engine as the only parameter to function (eg. def upgrade(migrate_engine):)
* Column.alter does not accept current_name anymore, it extracts name from the old column.
For complete list see [http://packages.python.org/sqlalchemy-migrate/changelog.htm changelog]




[Category:Docs Project]]
'''git push --atomic'''
[[Category:Draft documentation]]
 
[[Category:Documentation beats]]
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.0, please visit the release notes at: [https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.0.txt https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.0.txt].

Revision as of 02:30, 23 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.0 from 2.1.0 Ticket for Documentation of Git 2.4.0 Fedora 22 has includes Git 2.4.0. 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.0, please visit the release notes at: https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.0.txt.