Ekstremac Docs
  • 👋What is Ekstremac?
  • About Us
    • Who we are?
    • Company Structure
    • Company Culture
    • Tech Radar
    • Meet the Team!
    • How to contact us?
  • Our Services
    • Web Design & Development
    • Mobile Development
    • SEO & Content Writing
    • Brand Management & Marketing
  • Our Products
    • 🚴Adventures
      • Ekstremac Apps
      • Service Fee
    • 🥂Team Building Planner
      • Building Stronger Teams
    • 😎Social Network
    • 🆘SOS in Wilderness
    • 🥑Food for extreme life
    • 🤸‍♂️Training for adventures
    • 🎟️Product Ticketing
    • 🏢Business owners
    • 💰Passive Income
  • Investments
    • For Investors
    • Our Portfolio
  • Developers
    • Start here
    • Git Suggestions
    • Git Commit Message Conventions
    • Microservices
      • Authentication
      • User types
      • Administration
  • Tips & Tricks for Success
    • 🛠️Productivity Tools
    • ⬆️Creativity Boosters
  • Internal Processes
    • Trello Board
    • Content Generation Process
    • Innovation Day
    • OKRs
    • Partner Ratings
  • Legal Documents
    • Terms of Service
    • Privacy Policy
    • Legal Policy
    • Cookie Policy
    • Impressum
Powered by GitBook
On this page
  • Git Tricks
  • Git Message Convention
  • Pull Request Update
  1. Developers

Git Suggestions

Some tricks to make Merge Requests more awesome for your project.

PreviousStart hereNextGit Commit Message Conventions

Last updated 1 year ago

Git Tricks

Here is the list of useful tricks []:

  • Open a Merge Request as early as possible Merge Requests are a great way to start a conversation of a feature, so start one as soon as possible - even before you are finished with the code. Your team can comment on the feature as it evolves, instead of providing all their feedback at the very end.

  • Merge Requests work branch to branch No one has a fork of gitlab/gitlab. We make Merge Requests in the same repository by opening Merge Requests for branches.

  • A Merge Request doesn’t have to be merged Merge Requests are easy to make and a great way to get feedback and track progress on a branch. But some ideas don’t make it. It’s okay to close a Merge Request without merging; we do it all the time.

Git Message Convention

Useful resources:

  • Conventional Commits []

  • Conventional Git Commit Messages and Linting []

  • AngularJS Git Commit Message Conventions []

Pull Request Update

When updating a pull request, it is important to avoid closing the previous pull request and opening a new one.

Updating the existing pull request instead of creating a new one is crucial for several reasons:

  1. Consistent History: By updating the existing pull request, the version control history remains intact and maintains a clear and coherent record of changes. It allows team members to easily track the progression of the code review process and refer back to previous comments, discussions, and iterations.

  2. Efficient Collaboration: Keeping the original pull request open facilitates effective collaboration and avoids fragmentation of feedback and discussions. All comments, suggestions, and code review discussions are preserved within the context of the initial pull request, allowing for a comprehensive overview of the changes and their corresponding evaluations.

  3. Streamlined Workflow: Updating the pull request on the original branch streamlines the development workflow. It eliminates the need to manage multiple branches, reducing complexity and potential confusion for both the author and reviewers. It ensures that the updates are applied directly to the existing branch, avoiding unnecessary branching and merging operations.

In summary, maintaining the integrity of the pull request by updating it on the original branch enhances transparency, collaboration, and efficiency throughout the code review process.

source
Link
Link
Link