Re: Integrating Git for Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

There is no concept of a linear numeric rev in git as far as I can tell.

Correct. We should just use the commit ID and the date moving forward.

https://stackoverflow.com/a/1968001/2300395

  • Use git rev-parse HEAD to get the commit ID.

https://stackoverflow.com/a/3815007/2300395

  • Use git show -s --format=%ci HEAD to get the commit date string.
SDPringle said...

Right now, I have some changes that integrate git version information into the build of Euphoria.

I want to do basically the git equivalent to:

hg push -f 

The git branch, basically adapts to the use git. It is based off 4.0.5. Later, we can replay changes on the tip of 4.0 and 4.1.

https://stackoverflow.com/a/6232535/2300395

  • Use git push -u origin <branch> to set the upstream for your branch to origin.

https://stackoverflow.com/a/4089452/2300395

  • Use git remote show origin to show your remote URLs and branch information.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu