Skip to content

other helpful git commands #45

@derrickburt

Description

@derrickburt

git push --force This is kind of a last-ditch effort if you have merge conflicts that you cannot resolve. I would only recommend using this command when a single file is staged.

git reset This will remove any staged changes. i.e.) If you stage a file that is too large and keep getting an error (even if you have deleted the file from the cybergis environment), this command will remove the staged file.

git mergetool a safe way to track the differences that are causing merge conflicts. Opens up a GUI in the terminal and allows you to resolve the changes while storing backup copies of conflicting files (so you are able to sift thru the copies on both sides of the commit).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions