On Fri, Aug 29, 2014 at 3:10 PM, Trond Hindenes <
tr...@hindenes.com> wrote:
> I'm fairly new to git, and from time to time I stumble and embarrasingly
> submit pull requests containing merge commits to Ansible.
>
> Is there an easy way to double-check that my branch doesn't contain any
> merge commits before submitting?
`git log --graph`
will give you a pretty reasonable way to visually check if there are
merges in your history. I'm a big fan of `tig`, and will usually do
something like
`tig origin/develop feature_branch`
before pushing to see if I have to rebase. Any git gui will have a
similar visual mode for looking at your history.
> I have set up my fork repo with a remote to ansible/ansible called "source"
> can I simply do a
>
> git checkout feature_branch
> git reset --hard
this seems a little scary- what are you trying to do?
--
-----------------------
| Henry Finucane
| "I hear aphorisms are popular"
-----------------------