Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub pencil (Edit) button disappears

Tags:

github

edit

I have a GitHub repository where I put my jupyter notebooks in it. While I open my notebooks in GitHub, I usually see a pencil button where I can Edit my notebook:

enter image description here

However for some other notebooks in the same repository it disappears:

enter image description here

Why this happens and how to fix it?

like image 711
Ala Tarighati Avatar asked Feb 14 '26 00:02

Ala Tarighati


1 Answers

It is simply because of the size of the file. Github does not allow editing large files (not sure what is the exact size limit) It sometimes even restricts viewing such files, and they can be viewed only in the raw mode.

To edit these files, edit them in your local clone and push them to the desired branch using git cli, Github Desktop, SourceTree etc.

Edit: Answer is outdated now. Please see the workaround mentioned in comments.

like image 57
Bajal Avatar answered Feb 16 '26 19:02

Bajal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!