limistah

What is your worst git experience?Mine: Never knew a colleague forgot to re …

Sat 07 Apr, 2018 09:24 pm

What is your worst git experience?

Mine: Never knew a colleague forgot to rebase my commits. So, I had to go back to our last merged commits, getting all my changes (of nearly 3 days of active coding) cleared off the tree. The fear of loosing all those changes nearly burst my heart out of my chest. Fortunately, I use a local branch that is not in sync with the remote repo. So, I used that to sync the changes of mine and my colleague's, then rebase both changes and finally made the great smooth rebase with no conflict. I just went to bed after that, not minding the time of the day (6 PM).

What I learnt was that I always check my remote repo for changes, rebase/merge to my local dev branch before starting any change. And also, make sure that I seek if there is any new change from my colleague before making that push.


What is yours, let us learn from your experience?

Comments

dhtml

Sun 08 Apr, 2018 10:58 am

E be like say them no dey use git. My own was when battling with amazon cli trying to upload something to elastic bean stalk. I was new to MAC (not the big-bus like BRT mind you) then and was just getting familiar with stuffs like

$ brew install awscli 

and stuffs like that, but eventually I found my way after a frustrating couple of days.

limistah

Sun 08 Apr, 2018 10:04 pm
dhtml wrote:

E be like say them no dey use git. My own was when battling with amazon cli trying to upload something to elastic bean stalk. I was new to MAC (not the big-bus like BRT mind you) then and was just getting familiar with stuffs like

$ brew install awscli 

and stuffs like that, but eventually I found my way after a frustrating couple of days.

Can be frustrating when you noticed a commit/merge got some files missing. A serious heart attack if those files use high logic.

mrcodes

Mon 09 Apr, 2018 02:04 am
Well, I haven't really had any serious challenge with git per se. Though my experience level with it is just < 2 yrs.

4kings

Tue 17 Apr, 2018 10:00 am

I've not had much exprerience with git.

Still a noob. confuseddisappointed

dhtml

Tue 17 Apr, 2018 11:17 am

You guys know I am an old-school programmer, in my own time, we use FTP client to upload the website

4kings

Tue 17 Apr, 2018 11:32 am
dhtml wrote:

You guys know I am an old-school programmer, in my own time, we use FTP client to upload the website

Wow, really old school. anguished anguished

Da Boss. glasses

dhtml

Tue 17 Apr, 2018 01:32 pm

This your reply is what brings this to memory:

Old-school website designers in Nigeria will understand this.

Back in the good old days, when you are called to do a website for a company, you know what to expect:

Your navigation structure is usually as simple as this:
- Home page
- About Us
- Our Products
- Our Services
- Contact Us

Yeah, so you are probably talking of:
- index.html
- about.html
- products.html
- services.html
- contact.html supported by sendmail.pl / sendmail.cgi / sendmail.php (depending on what generation you are talking about)

And of course you will have a few images, and usually one single style sheet.

So, all in all, we are talking of total files <30, and total size <5 MB (unless you have a lot of pictures)

And to upload that, all you need is just FTP yeah.

And as for development, you hardly need more than:
- MICROSOFT FRONTPAGE
- DREAMWEAVER 4.0 or so

Buuuuuut nowadays, if you try the above - and have the effrontery to call it a website or even a web app - and fortunately for you, I get to know about it.

I will make sure you spend like 50 years in an e-jail.

limistah

Wed 18 Apr, 2018 05:06 pm
dhtml wrote:

This your reply is what brings this to memory:

Old-school website designers in Nigeria will understand this.

Back in the good old days, when you are called to do a website for a company, you know what to expect:

Your navigation structure is usually as simple as this:
- Home page
- About Us
- Our Products
- Our Services
- Contact Us

Yeah, so you are probably talking of:
- index.html
- about.html
- products.html
- services.html
- contact.html supported by sendmail.pl / sendmail.cgi / sendmail.php (depending on what generation you are talking about)

And of course you will have a few images, and usually one single style sheet.

So, all in all, we are talking of total files <30, and total size <5 MB (unless you have a lot of pictures)

And to upload that, all you need is just FTP yeah.

And as for development, you hardly need more than:
- MICROSOFT FRONTPAGE
- DREAMWEAVER 4.0 or so

Buuuuuut nowadays, if you try the above - and have the effrontery to call it a website or even a web app - and fortunately for you, I get to know about it.

I will make sure you spend like 50 years in an e-jail.

Who get time for all these when we can literally use a git command with proper setup and have files up on the live server in a moment. You are not even concerned what happens after you hit that ENTER. All you want is the successful notification of the tests and build commands.