git productivity

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

git productivity

César Hernández Mendoza
any git alias tool do you recommend to use apart from hub [1]?
I use to have some alias on my terminal for `git status`, `git branch -v`
but I wonder if there are some better (standardized) ones.

[1] https://hub.github.com/

--
Atentamente:
César Hernández Mendoza.
Reply | Threaded
Open this post in threaded view
|

Re: git productivity

Jean-Louis MONTEIRO
I use a plain git client
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Thu, Jan 3, 2019 at 6:08 PM César Hernández Mendoza <[hidden email]>
wrote:

> any git alias tool do you recommend to use apart from hub [1]?
> I use to have some alias on my terminal for `git status`, `git branch -v`
> but I wonder if there are some better (standardized) ones.
>
> [1] https://hub.github.com/
>
> --
> Atentamente:
> César Hernández Mendoza.
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: git productivity

Roberto Cortez
I use hub and I have aliased to git. I find it super useful to submit PR via git pull-request -b master for instance.

I also use this git-prompt:
https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh <https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh>

And you can set it up to display useful Git info on your current project on the terminal prompt.

Hope it helps!

Cheers,
Roberto

> On 4 Jan 2019, at 12:32, Jean-Louis Monteiro <[hidden email]> wrote:
>
> I use a plain git client
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Thu, Jan 3, 2019 at 6:08 PM César Hernández Mendoza <[hidden email]>
> wrote:
>
>> any git alias tool do you recommend to use apart from hub [1]?
>> I use to have some alias on my terminal for `git status`, `git branch -v`
>> but I wonder if there are some better (standardized) ones.
>>
>> [1] https://hub.github.com/
>>
>> --
>> Atentamente:
>> César Hernández Mendoza.
>>

Reply | Threaded
Open this post in threaded view
|

Re: git productivity

jgallimore
One note for committers - do go and link your GitHub and Apache accounts here: https://gitbox.apache.org/setup/. Make sure you have your github userid setup on your Apache account profile (https://id.apache.org/). This should trigger you to be invited to the Apache organization on GitHub. If you then also setup 2FA on GitHub (if you haven't already), you'll be able to merge PRs directly on GitHub.



I have this working - please shout if you are struggling, I'm happy to help.

Jon

On Fri, Jan 4, 2019 at 12:39 PM Roberto Cortez <[hidden email]> wrote:
I use hub and I have aliased to git. I find it super useful to submit PR via git pull-request -b master for instance.

I also use this git-prompt:
https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh <https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh>

And you can set it up to display useful Git info on your current project on the terminal prompt.

Hope it helps!

Cheers,
Roberto

> On 4 Jan 2019, at 12:32, Jean-Louis Monteiro <[hidden email]> wrote:
>
> I use a plain git client
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Thu, Jan 3, 2019 at 6:08 PM César Hernández Mendoza <[hidden email]>
> wrote:
>
>> any git alias tool do you recommend to use apart from hub [1]?
>> I use to have some alias on my terminal for `git status`, `git branch -v`
>> but I wonder if there are some better (standardized) ones.
>>
>> [1] https://hub.github.com/
>>
>> --
>> Atentamente:
>> César Hernández Mendoza.
>>

Reply | Threaded
Open this post in threaded view
|

Re: git productivity

César Hernández Mendoza
Thank you for the reply guys!

I use a small version of git-prompt.sh. In my .bash_profile, this is how it
looks:
PS1='\[\e[0;33m\]\u\[\e[0m\]:\[\e[0;32m\]\W\[\e[0m\]\[\e[34m\]$(parse_git_branch)\[\e[m\]\$
'
The parse_git_branch is actually the one that comes with in this tools (git
status): http://ezprompt.net/

yes, Daniel recommended me hub a couple years ago and it's been also really
cool to review PR's.
git checkout <prURL>
git pull upstream master



El vie., 4 ene. 2019 a las 8:39, Jonathan Gallimore (<
[hidden email]>) escribió:

> One note for committers - do go and link your GitHub and Apache accounts
> here: https://gitbox.apache.org/setup/. Make sure you have your github
> userid setup on your Apache account profile (https://id.apache.org/).
> This should trigger you to be invited to the Apache organization on GitHub.
> If you then also setup 2FA on GitHub (if you haven't already), you'll be
> able to merge PRs directly on GitHub.
>
> [image: Snip20190104_1.png]
>
> I have this working - please shout if you are struggling, I'm happy to
> help.
>
> Jon
>
> On Fri, Jan 4, 2019 at 12:39 PM Roberto Cortez <[hidden email]>
> wrote:
>
>> I use hub and I have aliased to git. I find it super useful to submit PR
>> via git pull-request -b master for instance.
>>
>> I also use this git-prompt:
>> https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh <
>> https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh>
>>
>> And you can set it up to display useful Git info on your current project
>> on the terminal prompt.
>>
>> Hope it helps!
>>
>> Cheers,
>> Roberto
>>
>> > On 4 Jan 2019, at 12:32, Jean-Louis Monteiro <[hidden email]>
>> wrote:
>> >
>> > I use a plain git client
>> > --
>> > Jean-Louis Monteiro
>> > http://twitter.com/jlouismonteiro
>> > http://www.tomitribe.com
>> >
>> >
>> > On Thu, Jan 3, 2019 at 6:08 PM César Hernández Mendoza <
>> [hidden email]>
>> > wrote:
>> >
>> >> any git alias tool do you recommend to use apart from hub [1]?
>> >> I use to have some alias on my terminal for `git status`, `git branch
>> -v`
>> >> but I wonder if there are some better (standardized) ones.
>> >>
>> >> [1] https://hub.github.com/
>> >>
>> >> --
>> >> Atentamente:
>> >> César Hernández Mendoza.
>> >>
>>
>>

--
Atentamente:
César Hernández Mendoza.