Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity 1: History #1

Open
selkins13 opened this issue Nov 20, 2020 · 8 comments
Open

Activity 1: History #1

selkins13 opened this issue Nov 20, 2020 · 8 comments

Comments

@selkins13
Copy link
Collaborator

selkins13 commented Nov 20, 2020

Duration: 10 minutes

History of your repository

Let's look at the history of your repository. Using a command line tool, run the following command on it:

git log --oneline

Be sure you are in the location of that file inside your command line tool.

Explore a commit

Choose a commit in your repositories history and let's explore that single commit. Run the following command to see the details of the commit.

git log --pretty=fuller [commit hash]

Be sure you are in the location of that file inside your command line tool.

How many changeset are in your repository

Let's find out how many changes your repository has. Run the following command to see how may commits have been made in your repository:

git log --oneline | wc -l

Be sure you are in the location of that file inside your command line tool.

Report out

Report your findings in comments section below:

  • Include answers to the following questions in your comments:
    • How many commits have been made on your repository?
    • Do you find any patterns?
    • Are the commit messages relevant enough to know why the file changed? Do you follow a standard?

⚠️ Make sure during all this exercise you don't post any private information that should not be shared publicly.

For examples and more information, please see README.md -> Activity 1.

@onetrickwolf
Copy link

onetrickwolf commented Dec 11, 2020

How many commits have been made on your repository?

6810

Do you find any patterns?

All merges tied to issues since we squash and merge. Each commit represents a pull request.

Are the commit messages relevant enough to know why the file changed? Do you follow a standard?

😬
Not really but we tie them back to issues that have more details.

@FLMRobert
Copy link

FLMRobert commented Dec 11, 2020

How many commits have been made on your repository?
85
Do you find any patterns?
majority of commits are PR merges
Are the commit messages relevant enough
Most of them (except for merges)

@nicolas2mey
Copy link

How many commits have been made on your repository?

12356, but not full history, history has been squash when including it from svn to git

Do you find any patterns?

yes, merges, maven release message

Are the commit messages relevant enough to know why the file changed? Do you follow a standard?

legacy project, multi team with no proceesse ... not really :p

@darshil0193
Copy link

  1. How many commits have been made on your repository?
    6682
  2. Do you find any patterns?
    Many dependency upgrades and merge commits
  3. Are the commit messages relevant enough to know why the file changed? Do you follow a standard?
    Mostly yes. There are a few here and there that do not really follow the standards

@elavaud
Copy link

elavaud commented Dec 11, 2020

How many commits have been made on your repository?
7283
Do you find any patterns?
Bug fix
Are the commit messages relevant enough to know why the file changed? Do you follow a standard?
Yes

@mic666
Copy link

mic666 commented Dec 11, 2020

How many commits have been made on your repository?
119003 commits

Do you find any patterns?
all our commit messages contains jira id to link code change to the actual issue or story
and quite a lot of merge request commit

@alubchuk
Copy link

alubchuk commented Dec 11, 2020

How many commits have been made on your repository?

8625

Do you find any patterns?

We're following the pattern where each commit that gets merged into main branch encompasses the number of ticket in Jira and its title.

Are the commit messages relevant enough to know why the file changed? Do you follow a standard?

We have some checkups in place which verify the commit message pattern and it will disallow commits from being merged if they break that pattern.

@saihtaungkham
Copy link

How many commits have been made on your repository?
397
Do you find any patterns?
Merge, bug fix
Are the commit messages relevant enough to know why the file changed? Do you follow a standard?
Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants